<?php
$db_host = 'localhost';
$db_name = 'wap';
$db_username = 'root';
$db_password = 'toor';
@mysql_connect ( "{$db_host}", "{$db_username}", "{$db_password}" ) or die ( "Khong the ket noi toi database. Hay kiem tra lai nhe.!" );
@mysql_select_db ( "{$db_name}" ) or die ( "Khong the chon database" );
//mysql_set_charset('utf8',@mysql_connect); //font tiếng việt
mysql_query("SET NAMES utf8"); 
//date_default_timezone_set ( 'Asia/Ho_Chi_Minh' );
?>
